<ion-header>
	<ion-toolbar>
		<ion-title>网络检查设置</ion-title>
		<ion-buttons slot="end">
			<ion-button color="primary" (click)="close()">
				<ion-icon slot="start" name="close"></ion-icon>
				<ion-label>关闭</ion-label>
			</ion-button>
		</ion-buttons>
	</ion-toolbar>
</ion-header>

<ion-content>
	<ion-list>
		<ion-item>
			<ion-label>次数 ( {{ setting.count }}次 )</ion-label>
			<ion-range min="1" max="100" [(ngModel)]="setting.count" pin="true">
				<ion-label slot="start">1</ion-label>
				<ion-label slot="end">100</ion-label>
				<ion-icon size="small" slot="start" name="swap-horizontal"></ion-icon>
				<ion-icon slot="end" name="swap-horizontal"></ion-icon>
			</ion-range>
		</ion-item>
		<ion-item>
			<ion-label>超时( {{ setting.timeout }}秒 )</ion-label>
			<ion-range min="1" max="100" [(ngModel)]="setting.timeout" pin="true">
				<ion-label slot="start">1</ion-label>
				<ion-label slot="end">100</ion-label>
				<ion-icon name="timer" slot="start" size="small"></ion-icon>
				<ion-icon name="timer" slot="end"></ion-icon>
			</ion-range>
		</ion-item>
		<ion-item>
			<ion-label>数据 ( {{ setting.size }}字节 )</ion-label>
			<ion-range min="24" max="1000" [(ngModel)]="setting.size" pin="true">
				<ion-label slot="start">24</ion-label>
				<ion-label slot="end">1000</ion-label>
				<ion-icon size="small" slot="start" name="cloud-upload"></ion-icon>
				<ion-icon slot="end" name="cloud-upload"></ion-icon>
			</ion-range>
		</ion-item>
		<ion-item>
			<ion-label>间隔时间 ( {{ setting.interval }}秒 )</ion-label>
			<ion-range min="1" max="60" [(ngModel)]="setting.interval" pin="true">
				<ion-label slot="start">1</ion-label>
				<ion-label slot="end">60</ion-label>
				<ion-icon name="stopwatch" slot="start" size="small"></ion-icon>
				<ion-icon name="stopwatch" slot="end"></ion-icon>
			</ion-range>
		</ion-item>
	</ion-list>
</ion-content>
